<template>
    <div>
        <div class="idlist-table-title" :style="size">
        <h4>{{name}}</h4>
        <el-button v-if="btn" @click="event"  type="primary">{{btn}}</el-button>
      </div>
    </div>
</template>

<script>
    export default {
        props:["name","btn","size","event"],
        data(){
            return{
               
            }
        }
    }
</script>

<style lang="less" scoped>
h4 {
  width: 100%;
  font-weight: 400;
}
.idlist-table-title {
  display: flex;
  padding:10px 0;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
  line-height: 30px;
  justify-content: space-between;
}
</style>